import { ApiProperty } from '@nestjs/swagger';

export class ListTaskDto {
  @ApiProperty({
    type: Number,
    description: '当前页码',
    example: 1,
    required: false,
  })
  current?: number;

  @ApiProperty({
    type: Number,
    description: '每页条数',
    example: 10,
    required: false,
  })
  pageSize?: number;
}
